﻿<DirectoryTree TItem="string"
               Multiple
               DefaultExpandAll
               OnSelect="OnSelect"
               OnExpand="OnExpand">
    <Nodes>
        <TreeNode Title="parent 0" Key="0-0" TItem="string">
            <Nodes>
                <TreeNode Title="leaf 0-0" Key="0-0-0" TItem="string" />
                <TreeNode Title="leaf 0-1" Key="0-0-1" TItem="string" />
            </Nodes>
        </TreeNode>
        <TreeNode Title="parent 1" Key="0-1" TItem="string">
            <Nodes>
                <TreeNode Title="leaf 1-0" Key="0-1-0" TItem="string" />
                <TreeNode Title="leaf 1-1" Key="0-1-1" TItem="string" />
            </Nodes>
        </TreeNode>
    </Nodes>
</DirectoryTree>

@code {
    void OnSelect()
    {

    }

    void OnExpand()
    {

    }
}
